﻿using System;

namespace StatsData.Api.Models
{
    /// <summary>
    /// 层级看板 - 问题跟踪 - - 同步
    /// </summary>
    public class TierWipIssueRecordSyncModel
    {
        public string Id { get; set; }

        /// <summary>
        /// 提出日期
        /// </summary>
        public DateTime IssueTime { get; set; }

        /// <summary>
        /// 线体（预留）
        /// </summary>
        public string LineCode { get; set; }

        public string LineName { get; set; }

        /// <summary>
        /// 生产课
        /// </summary>
        public string ShopDepartCode { get; set; }

        public string ShopDepartName { get; set; }

        /// <summary>
        /// 问题描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 对应措施
        /// </summary>
        public string Solution { get; set; }

        /// <summary>
        /// 0:未关闭 1:已升级 99:关闭
        /// </summary>
        public int Status { get; set; }

        public string StatusName { get; set; }

        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime? CompleteTime { get; set; }

        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 关闭时间
        /// </summary>
        public DateTime? CloseTime { get; set; }

        public string CreateUserCode { get; set; }

        public string CreateUserName { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string ChargeUserCode { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string ChargeUserName { get; set; }

        /// <summary>
        /// 关闭人
        /// </summary>
        public string CloseUserCode { get; set; }

        /// <summary>
        /// 关闭人
        /// </summary>
        public string CloseUserName { get; set; }

        public string OrgId { get; set; }
    }
}
